-- GENERATED SPELL FOR [Mana-debt Slave] --


function spell0_23154(pUnit, Event) --@Pummel,n/a--
pUnit:FullCastSpellOnTarget(12555,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_23154', 5281, 1)
end

function Sorts_23154(pUnit, Event)
local choix_sorts_23154 = math.random(0, 0)
if choix_sorts_23154 == 0 then
pUnit:RegisterEvent('spell0_23154', 1, 1)
end
end

function mob23154_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_23154', math.random(1500, 3000), 1)
end

function mob23154_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob23154_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob23154_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(23154, 1, 'mob23154_Action')
RegisterUnitEvent(23154, 2, 'mob23154_Leave')
RegisterUnitEvent(23154, 3, 'mob23154_Kill')
RegisterUnitEvent(23154, 4, 'mob23154_Die')
